package com.taoym.voucher.admin.entity.dto;

import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @coder taoym
 * @datetime 2021/7/9 10:49
 * @desc
 */
@Data
public class SysUserRefreshTokenDTO implements Serializable {
    @ApiParam(value = "refresh_token")
    @NotBlank(message = "refreshToken不能为空")
    private String refreshToken;
    @ApiParam(value = "需要被刷新的token")
    @NotBlank(message = "需要被刷新的token不能为空")
    private String token;
}
